treewide: fix and improve some srcs#391262
Conversation
drupol
left a comment
There was a problem hiding this comment.
How about replacing sha256 with hash where it is relevant too then ?
|
Well, I'd say it's out of scope of this, since this PR specifically on purpose does not touch any hashes. |
|
Just replacing the attribute, not its value, and only where it makes sense. And this is in the scope of "improving some e.g.: in |
|
Done for all |
|
Okay, so apparently Samba mirrors changed their URL scheme again between me making that change and rebasing it on top of master, so that's fixed now.
Also, I checked most of the touched packages by `nix-build`ing their `.src`s with `hashed-mirrors = ` in my `nix.conf` (I checked all where I edited the hash, a bunch of Samba ones, and some random Savannah ones), and everything works.
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2314 |
... and improve some related `meta` URLs
…ible ... but only when it does not require editing the hash itself, i.e., keeping non-`base64` hashes as-is.
|
Rebased to fix conflicts. |
|
Darwin checks are stuck. But maybe this is fine to merge anyway? |
|
Nope, all the tests are failing, I would not merge this at the moment. |
|
Well |
philiptaron
left a comment
There was a problem hiding this comment.
I went through and validated every single change. This is good to merge.
|
Thanks @philiptaron! |
This fixes some source-related build failures I noticed while building nixpkgs without using cache.nixos.org, and then adds some related improvements on top, to make these particular issues less likely in the future.
Things done
sandbox = trueAdd a 👍 reaction to pull requests you find important.